\hypertarget{fatfs__tests_8h}{}\section{fatfs.\+sup/fatfs\+\_\+tests.h File Reference}
\label{fatfs__tests_8h}\index{fatfs.\+sup/fatfs\+\_\+tests.\+h@{fatfs.\+sup/fatfs\+\_\+tests.\+h}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_ad16bc1913c19300dba43a07006c9ac52}{fatfs\+\_\+help} (int full)
\begin{DoxyCompactList}\small\item\em Display Fat\+Fs test diagnostics help menu. \end{DoxyCompactList}\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} int \hyperlink{fatfs__tests_8h_adc8904337a4bee5420ecc3527864f844}{fatfs\+\_\+tests} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
\begin{DoxyCompactList}\small\item\em Fat\+Fs test parser. \end{DoxyCompactList}\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_ad5fed10f1507f55cfea45f5e3cb8c5d5}{mmc\+\_\+test} (void)
\begin{DoxyCompactList}\small\item\em Perform key Fat\+Fs diagnostics tests. \end{DoxyCompactList}\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_a97a2409a53057e1a63537f196ff00a50}{fatfs\+\_\+cat} (char $\ast$name)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_a23a2f537fbb0a757d6f98a5a60824a4d}{fatfs\+\_\+copy} (char $\ast$from, char $\ast$to)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_ad2debe3eb75bb1a6f65329659eedb706}{fatfs\+\_\+create} (char $\ast$name, char $\ast$str)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_a13b052da94097b8b93c3d9f1e564463d}{fatfs\+\_\+cd} (char $\ast$name)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_a5306e261e84e6700704633a53153857c}{fatfs\+\_\+ls} (char $\ast$name)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_a4aa62d8de2bcffc328877256c6b71223}{fatfs\+\_\+mkdir} (char $\ast$name)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_a1c1f6b5746c5bd08bdf645c951c5421f}{fatfs\+\_\+pwd} (void)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_ace47a8763a0dc6a96cc8f8abb4bf3a7a}{fatfs\+\_\+rename} (const char $\ast$oldpath, const char $\ast$newpath)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_a40de2d35f2fcb56e6c0c3f8674bab818}{fatfs\+\_\+rm} (char $\ast$name)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_ab138ae7a3df0a7affe8e27236e8b70c3}{fatfs\+\_\+rmdir} (char $\ast$name)
\item 
\hyperlink{earth2wireframe_8c_ad0fe97585b8891f5e4f2b9a6426330a4}{M\+E\+M\+S\+P\+A\+CE} void \hyperlink{fatfs__tests_8h_a2f1bfd0aaac56da99b1898a21a2b73e9}{fatfs\+\_\+stat} (char $\ast$name)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+cat@{fatfs\+\_\+cat}}
\index{fatfs\+\_\+cat@{fatfs\+\_\+cat}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+cat(char $\ast$name)}{fatfs_cat(char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+cat (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_a97a2409a53057e1a63537f196ff00a50}{}\label{fatfs__tests_8h_a97a2409a53057e1a63537f196ff00a50}


Referenced by fatfs\+\_\+ls(), fatfs\+\_\+tests(), and mmc\+\_\+test().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+cd@{fatfs\+\_\+cd}}
\index{fatfs\+\_\+cd@{fatfs\+\_\+cd}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+cd(char $\ast$name)}{fatfs_cd(char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+cd (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_a13b052da94097b8b93c3d9f1e564463d}{}\label{fatfs__tests_8h_a13b052da94097b8b93c3d9f1e564463d}


Referenced by fatfs\+\_\+ls(), fatfs\+\_\+tests(), and mmc\+\_\+test().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+copy@{fatfs\+\_\+copy}}
\index{fatfs\+\_\+copy@{fatfs\+\_\+copy}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+copy(char $\ast$from, char $\ast$to)}{fatfs_copy(char *from, char *to)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+copy (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{from, }
\item[{char $\ast$}]{to}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_a23a2f537fbb0a757d6f98a5a60824a4d}{}\label{fatfs__tests_8h_a23a2f537fbb0a757d6f98a5a60824a4d}


Referenced by fatfs\+\_\+ls(), fatfs\+\_\+tests(), and mmc\+\_\+test().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+create@{fatfs\+\_\+create}}
\index{fatfs\+\_\+create@{fatfs\+\_\+create}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+create(char $\ast$name, char $\ast$str)}{fatfs_create(char *name, char *str)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+create (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name, }
\item[{char $\ast$}]{str}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_ad2debe3eb75bb1a6f65329659eedb706}{}\label{fatfs__tests_8h_ad2debe3eb75bb1a6f65329659eedb706}


Referenced by fatfs\+\_\+ls(), fatfs\+\_\+tests(), and mmc\+\_\+test().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+help@{fatfs\+\_\+help}}
\index{fatfs\+\_\+help@{fatfs\+\_\+help}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+help(int full)}{fatfs_help(int full)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+help (
\begin{DoxyParamCaption}
\item[{int}]{full}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_ad16bc1913c19300dba43a07006c9ac52}{}\label{fatfs__tests_8h_ad16bc1913c19300dba43a07006c9ac52}


Display Fat\+Fs test diagnostics help menu. 

\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}


Definition at line 46 of file fatfs\+\_\+tests.\+c.



Referenced by fatfs\+\_\+tests(), and user\+\_\+help().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+ls@{fatfs\+\_\+ls}}
\index{fatfs\+\_\+ls@{fatfs\+\_\+ls}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+ls(char $\ast$name)}{fatfs_ls(char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+ls (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_a5306e261e84e6700704633a53153857c}{}\label{fatfs__tests_8h_a5306e261e84e6700704633a53153857c}

\begin{DoxyItemize}
\item Credit\+: part of Fat\+Fs avr example project (C)ChaN, 2013.
\end{DoxyItemize}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em ptr} & pathname of directory to list\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{fatfs__sup_8c_a11c6644c2b989d1ac2492b30b80e4ead}{fatfs\+\_\+filinfo\+\_\+list()}. 
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
void. 
\end{DoxyReturn}


Definition at line 313 of file fatfs\+\_\+tests.\+c.



Referenced by fatfs\+\_\+tests(), and mmc\+\_\+test().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+mkdir@{fatfs\+\_\+mkdir}}
\index{fatfs\+\_\+mkdir@{fatfs\+\_\+mkdir}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+mkdir(char $\ast$name)}{fatfs_mkdir(char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+mkdir (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_a4aa62d8de2bcffc328877256c6b71223}{}\label{fatfs__tests_8h_a4aa62d8de2bcffc328877256c6b71223}


Referenced by fatfs\+\_\+ls(), fatfs\+\_\+tests(), and mmc\+\_\+test().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+pwd@{fatfs\+\_\+pwd}}
\index{fatfs\+\_\+pwd@{fatfs\+\_\+pwd}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+pwd(void)}{fatfs_pwd(void)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+pwd (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_a1c1f6b5746c5bd08bdf645c951c5421f}{}\label{fatfs__tests_8h_a1c1f6b5746c5bd08bdf645c951c5421f}


Referenced by fatfs\+\_\+ls(), fatfs\+\_\+tests(), and mmc\+\_\+test().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+rename@{fatfs\+\_\+rename}}
\index{fatfs\+\_\+rename@{fatfs\+\_\+rename}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+rename(const char $\ast$oldpath, const char $\ast$newpath)}{fatfs_rename(const char *oldpath, const char *newpath)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+rename (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{oldpath, }
\item[{const char $\ast$}]{newpath}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_ace47a8763a0dc6a96cc8f8abb4bf3a7a}{}\label{fatfs__tests_8h_ace47a8763a0dc6a96cc8f8abb4bf3a7a}


Referenced by fatfs\+\_\+ls(), and fatfs\+\_\+tests().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+rm@{fatfs\+\_\+rm}}
\index{fatfs\+\_\+rm@{fatfs\+\_\+rm}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+rm(char $\ast$name)}{fatfs_rm(char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+rm (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_a40de2d35f2fcb56e6c0c3f8674bab818}{}\label{fatfs__tests_8h_a40de2d35f2fcb56e6c0c3f8674bab818}


Referenced by fatfs\+\_\+ls(), and fatfs\+\_\+tests().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+rmdir@{fatfs\+\_\+rmdir}}
\index{fatfs\+\_\+rmdir@{fatfs\+\_\+rmdir}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+rmdir(char $\ast$name)}{fatfs_rmdir(char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+rmdir (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_ab138ae7a3df0a7affe8e27236e8b70c3}{}\label{fatfs__tests_8h_ab138ae7a3df0a7affe8e27236e8b70c3}


Referenced by fatfs\+\_\+ls(), and fatfs\+\_\+tests().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+stat@{fatfs\+\_\+stat}}
\index{fatfs\+\_\+stat@{fatfs\+\_\+stat}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+stat(char $\ast$name)}{fatfs_stat(char *name)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void fatfs\+\_\+stat (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{name}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_a2f1bfd0aaac56da99b1898a21a2b73e9}{}\label{fatfs__tests_8h_a2f1bfd0aaac56da99b1898a21a2b73e9}


Referenced by fatfs\+\_\+ls(), and fatfs\+\_\+tests().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!fatfs\+\_\+tests@{fatfs\+\_\+tests}}
\index{fatfs\+\_\+tests@{fatfs\+\_\+tests}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{fatfs\+\_\+tests(int argc, char $\ast$argv[])}{fatfs_tests(int argc, char *argv[])}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} int fatfs\+\_\+tests (
\begin{DoxyParamCaption}
\item[{int}]{argc, }
\item[{char $\ast$}]{argv\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_adc8904337a4bee5420ecc3527864f844}{}\label{fatfs__tests_8h_adc8904337a4bee5420ecc3527864f844}


Fat\+Fs test parser. 


\begin{DoxyItemize}
\item Keywords and arguments are matched against fatfs test functions If ther are matched the function along with its argements are called.
\end{DoxyItemize}


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em str} & User supplied command line with Fat\+Fs test and arguments.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
1 The ruturn code indicates a command matched. 

0 if no rules matched 
\end{DoxyReturn}


Definition at line 101 of file fatfs\+\_\+tests.\+c.



Referenced by user\+\_\+tests().

\index{fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}!mmc\+\_\+test@{mmc\+\_\+test}}
\index{mmc\+\_\+test@{mmc\+\_\+test}!fatfs\+\_\+tests.\+h@{fatfs\+\_\+tests.\+h}}
\subsubsection[{\texorpdfstring{mmc\+\_\+test(void)}{mmc_test(void)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf M\+E\+M\+S\+P\+A\+CE} void mmc\+\_\+test (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{fatfs__tests_8h_ad5fed10f1507f55cfea45f5e3cb8c5d5}{}\label{fatfs__tests_8h_ad5fed10f1507f55cfea45f5e3cb8c5d5}


Perform key Fat\+Fs diagnostics tests. 


\begin{DoxyItemize}
\item Perform all basic file tests
\item Assumes the device is formatted
\end{DoxyItemize}

\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}


Definition at line 271 of file fatfs\+\_\+tests.\+c.



Referenced by fatfs\+\_\+tests().

